import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter);

const routers = [
    /*
    {
        path: '/',
        redirect:"/hello"
    },
    {
        path: "/hello",
        component: resolve => require(['@/components/HelloWorld.vue'], resolve),
        children: []
    }*/
]

var router = new VueRouter({
    mode: 'history',
    routes: routers
})
export default router;